package main

import (
	"fmt"
	"strconv"
)

func main() {
	var orig string = "ABC"
	var newS string

	fmt.Printf("字符串初始化大小是: %d\n", strconv.IntSize)

	an, err := strconv.Atoi(orig)
	if err != nil {
		fmt.Printf("orig %s 不是整数 - 和错误一起退出\n", orig)
		return
	}
	fmt.Printf("整数是 %d\n", an)
	an = an + 5
	newS = strconv.Itoa(an)
	fmt.Printf("新的字符串是: %s \n", newS)
}
